package com.tongji.diy.model.furniturePlacementOptimization.assembleComplement
{
	import com.tongji.diy.model.furniturePlacementOptimization.CostComputing;
	import com.tongji.diy.model.furniturePlacementOptimization.DataAndFunction;

	//坐卧具类
	public class SLbase extends FurnitureBase
	{
		private var _peopleNum:int;//该家具可以承纳得人数
		private var _priorList:Vector.<FurnitureBase> = new Vector.<FurnitureBase>;		

		
		public function SLbase(furnitureIndex:int, furnitureClass:int, aganistWall:Boolean,length:Number = 0, width:Number = 0, height:Number = 0, peopleNum:int = 0,priorList:Vector.<FurnitureBase> = null)
		{
			super(furnitureIndex, furnitureClass, aganistWall,length, width, height);
			_peopleNum = peopleNum;
			_priorList = priorList;
		}
	
		
		public function get priorList():Vector.<FurnitureBase>
		{
			return _priorList;
		}
		
		public function get peopleNum():int
		{
			return _peopleNum;
		}
	}
}